home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / printind.helpmark < prev    next >
Text File  |  1991-10-23  |  2KB  |  59 lines

  1. +-----------------------------------------------------------------------------+
  2. |                                 printindex                                  |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. Abbreviation:  π|noneπ%
  6.  
  7. Parameters:    π|index numberπ%
  8.  
  9.     π|Description:π%
  10. The \printindex markup sorts and prints the index entries generated with the
  11. \index markup.   The \printindex markup  would usually come at  the end of a
  12. document before the table of contents.  This markup has the format
  13.  
  14. \printindexN
  15.  
  16. where  N is  the index  number:   1,  2 or  3.    By default,  the  index is
  17. printed using the  indent style of index  in ten point Computer  Modern.  It
  18. is recommended that  you print the index in two  columns (\twocolumns).  For
  19. a  complete list  of  the defaults  and how  to  modify them,  refer  to the
  20. \indexformat markup.
  21.  
  22.     π|Example:π%
  23. The following  illustrates how to place  an index at the  end of a document,
  24. after the last appendix, and before the table of contents.  Assume the table
  25. of contents is to begin on page "iv".
  26.  
  27. \appendix{Sample Data}
  28.  
  29. \preface{Index}
  30. \twocolumns
  31. \printindex1
  32. \onecolumns
  33. \tableofcontents{-4}
  34.  
  35. Using  the   \preface  markup  will  start   a  new  page   with  the  title
  36. "Index" at  the top  of the page.   Then  \twocolumns will  begin two column
  37. formatting (typical for indexes).  Next \printindex1 will sort index "1" and
  38. print the  sorted index  according to the  defaults set  by the \indexformat
  39. markup.   After printing the last of the  index, \onecolumn will switch back
  40. to single column mode before printing the table of contents.
  41.  
  42.     π|Example:π%
  43. Sometimes  multiple indexes  are required.    If  you had  used  \index1 and
  44. \index2, then you would use \printindex1 and \printindex2 to print them out:
  45.  
  46. \index1item in first index
  47. \index2item in second index
  48. \preface{Index One}
  49. \twocolumns
  50. \printindex1
  51. \onecolumns
  52. \preface{Index Two}
  53. \twocolumns
  54. \printindex2
  55. \onecolumns
  56.  
  57.     π|Notes:π%
  58. none.
  59.